package com.settlement.system.mapper;

import com.settlement.system.model.entity.SysTmBillDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.settlement.system.model.query.SysTmBillDetailQuery;
import org.apache.ibatis.annotations.Param;

/**
* <p>
* 天猫账单明细 Mapper 接口
* </p>
*
* @author huangrensen
* @since 2024-04-15
*/
@Mapper
public interface SysTmBillDetailMapper extends BaseMapper<SysTmBillDetail> {

    /**
    * 插入数据
    *
    * @param sysTmBillDetail 实体
    * @return
    */
    int insertData(SysTmBillDetail sysTmBillDetail);

    /**
    * 更新数据
    *
    * @param sysTmBillDetail 实体
    * @return
    */
    int update(SysTmBillDetail sysTmBillDetail);

    /**
    * 查询数据
    *
    * @param sysTmBillDetail 实体
    * @return
    */
    List<SysTmBillDetail> getList(SysTmBillDetail sysTmBillDetail);

    /**
    * 分页查询
    *
    * @param page 实体
    * @return
    */
    Page<SysTmBillDetail> getPage(Page<SysTmBillDetail> page, SysTmBillDetailQuery queryParams);

    String existTable(@Param("tableName")String tableName);

    int createTable(@Param("tableName")String tableName);
}
